Distance From A Point To A Plane
   HOME

TheInfoList



OR:

In
Euclidean space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's Elements, Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics ther ...
, the distance from a point to a plane is the distance between a given point and its
orthogonal projection In linear algebra and functional analysis, a projection is a linear transformation P from a vector space to itself (an endomorphism) such that P\circ P=P. That is, whenever P is applied twice to any vector, it gives the same result as if it wer ...
on the plane, the
perpendicular distance In geometry, the perpendicular distance between two objects is the distance from one to the other, measured along a line that is perpendicular to one or both. The distance from a point to a line is the distance to the nearest point on that line. Th ...
to the nearest point on the plane. It can be found starting with a
change of variables Change or Changing may refer to: Alteration * Impermanence, a difference in a state of affairs at different points in time * Menopause, also referred to as "the change", the permanent cessation of the menstrual period * Metamorphosis, or change, ...
that moves the origin to coincide with the given point then finding the point on the shifted
plane Plane(s) most often refers to: * Aero- or airplane, a powered, fixed-wing aircraft * Plane (geometry), a flat, 2-dimensional surface Plane or planes may also refer to: Biology * Plane (tree) or ''Platanus'', wetland native plant * ''Planes' ...
ax + by + cz = d that is closest to the
origin Origin(s) or The Origin may refer to: Arts, entertainment, and media Comics and manga * Origin (comics), ''Origin'' (comics), a Wolverine comic book mini-series published by Marvel Comics in 2002 * The Origin (Buffy comic), ''The Origin'' (Bu ...
. The resulting point has
Cartesian coordinate A Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured in ...
s (x,y,z): :\displaystyle x = \frac , \quad \quad \displaystyle y = \frac , \quad \quad \displaystyle z = \frac . The distance between the origin and the point (x,y,z) is \sqrt.


Converting general problem to distance-from-origin problem

Suppose we wish to find the nearest point on a plane to the point (X_0, Y_0, Z_0), where the plane is given by aX + bY + cZ = D. We define x = X - X_0, y = Y - Y_0, z = Z - Z_0, and d = D - aX_0 - bY_0 - cZ_0, to obtain ax + by + cz = d as the plane expressed in terms of the transformed variables. Now the problem has become one of finding the nearest point on this plane to the origin, and its distance from the origin. The point on the plane in terms of the original coordinates can be found from this point using the above relationships between x and X, between y and Y, and between z and Z; the distance in terms of the original coordinates is the same as the distance in terms of the revised coordinates.


Restatement using linear algebra

The formula for the closest point to the origin may be expressed more succinctly using notation from
linear algebra Linear algebra is the branch of mathematics concerning linear equations such as: :a_1x_1+\cdots +a_nx_n=b, linear maps such as: :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrices. ...
. The expression ax+by+cz in the definition of a plane is a
dot product In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a scalar as a result". It is also used sometimes for other symmetric bilinear forms, for example in a pseudo-Euclidean space. is an algebra ...
(a,b,c)\cdot(x,y,z), and the expression a^2+b^2+c^2 appearing in the solution is the squared
norm Naturally occurring radioactive materials (NORM) and technologically enhanced naturally occurring radioactive materials (TENORM) consist of materials, usually industrial wastes or by-products enriched with radioactive elements found in the envi ...
, (a,b,c), ^2. Thus, if \mathbf=(a,b,c) is a given vector, the plane may be described as the set of vectors \mathbf for which \mathbf\cdot\mathbf=d and the closest point on this plane is the vector :\mathbf=\frac... The
Euclidean distance In mathematics, the Euclidean distance between two points in Euclidean space is the length of a line segment between the two points. It can be calculated from the Cartesian coordinates of the points using the Pythagorean theorem, therefor ...
from the origin to the plane is the norm of this point, :\frac = \frac.


Why this is the closest point

In either the coordinate or vector formulations, one may verify that the given point lies on the given plane by plugging the point into the equation of the plane. To see that it is the closest point to the origin on the plane, observe that \mathbf is a scalar multiple of the vector \mathbf defining the plane, and is therefore orthogonal to the plane. Thus, if \mathbf is any point on the plane other than \mathbf itself, then the line segments from the origin to \mathbf and from \mathbf to \mathbf form a
right triangle A right triangle (American English) or right-angled triangle (British), or more formally an orthogonal triangle, formerly called a rectangled triangle ( grc, ὀρθόσγωνία, lit=upright angle), is a triangle in which one angle is a right an ...
, and by the
Pythagorean theorem In mathematics, the Pythagorean theorem or Pythagoras' theorem is a fundamental relation in Euclidean geometry between the three sides of a right triangle. It states that the area of the square whose side is the hypotenuse (the side opposite t ...
the distance from the origin to q is :\sqrt. Since , \mathbf-\mathbf, ^2 must be a positive number, this distance is greater than , \mathbf, , the distance from the origin to \mathbf. Alternatively, it is possible to rewrite the equation of the plane using dot products with \mathbf in place of the original dot product with \mathbf (because these two vectors are scalar multiples of each other) after which the fact that \mathbf is the closest point becomes an immediate consequence of the
Cauchy–Schwarz inequality The Cauchy–Schwarz inequality (also called Cauchy–Bunyakovsky–Schwarz inequality) is considered one of the most important and widely used inequalities in mathematics. The inequality for sums was published by . The corresponding inequality fo ...
.


Closest point and distance for a hyperplane and arbitrary point

The vector equation for a
hyperplane In geometry, a hyperplane is a subspace whose dimension is one less than that of its ''ambient space''. For example, if a space is 3-dimensional then its hyperplanes are the 2-dimensional planes, while if the space is 2-dimensional, its hyper ...
in n-dimensional
Euclidean space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's Elements, Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics ther ...
\mathbb^n through a point \mathbf with normal vector \mathbf \ne \mathbf is (\mathbf-\mathbf)\cdot\mathbf = 0 or \mathbf\cdot\mathbf=d where d=\mathbf\cdot\mathbf. The corresponding Cartesian form is a_1x_1+a_2x_2+\cdots+a_nx_n=d where d=\mathbf\cdot\mathbf=a_1p_1+a_2p_2+\cdots a_np_n. The closest point on this hyperplane to an arbitrary point \mathbf is :\mathbf=\mathbf-\left dfrac\rightmathbf=\mathbf-\left dfrac\rightmathbf and the distance from \mathbf to the hyperplane is :\left\, \mathbf-\mathbf\right\, = \left\, \left dfrac\rightmathbf\right\, =\dfrac=\dfrac. Written in Cartesian form, the closest point is given by x_i=y_i-ka_i for 1\le i\le n where :k=\dfrac=\dfrac, and the distance from \mathbf to the hyperplane is :\dfrac. Thus in \mathbb^3 the point on a plane ax+by+cz=d closest to an arbitrary point (x_1,y_1,z_1) is (x,y,z) given by :\left.\beginx=x_1-ka\\y=y_1-kb\\z=z_1-kc\end\right\} where :k=\dfrac, and the distance from the point to the plane is :\dfrac.


See also

*
Distance from a point to a line In Euclidean geometry, the distance from a point to a line'' is the shortest distance from a given point to any point on an infinite straight line. It is the perpendicular distance of the point to the line, the length of the line segment which join ...
*
Hesse normal form The Hesse normal form named after Otto Hesse, is an equation used in analytic geometry, and describes a line in \mathbb^2 or a plane in Euclidean space \mathbb^3 or a hyperplane in higher dimensions.John Vince: ''Geometry for Computer Graphics''. ...
* Skew lines#Distance


References

{{DEFAULTSORT:Point On Plane Closest To Origin Euclidean geometry Distance